home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Resources / ResourceID.h < prev    next >
C/C++ Source or Header  |  1997-06-28  |  277b  |  22 lines

  1. // ResourceID.h
  2.  
  3. #ifndef ResourceID_h
  4. #define ResourceID_h
  5.  
  6. #ifndef Integers_h
  7. #include "Integers.h"
  8. #endif
  9.  
  10. class ResourceID
  11.   {
  12.     private:
  13.         int16 id;
  14.     
  15.     public:
  16.         ResourceID( int16 theID )    :id( theID )    {}        // explicit?
  17.         
  18.         operator int16() const    { return id; }
  19.   };
  20.  
  21. #endif
  22.